<template>
	<view class="main">
		<view class="content">
			{{text}}
		</view>
	</view>
</template>

<script>
	import {
		getDynamics
	} from '@/api/user.js'
	export default{
		data(){
			return{
				text:[]
			}
		},
		onLoad(e) {
			getDynamics().then((res) => {
				console.log(res)
				this.text = res.data[0].content
			});
		},
		methods:{
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		min-height: calc(100vh - 44px);
		background-color: #F2F2F2;
		padding: 10px 15px 10px;
		background-color: #fff;
		h3{
			font-size: 16px;
			margin-bottom: 5px;
		}
		.time{
			font-size: 14px;
			color: #666666;
			margin-bottom: 15px;
		}
	}
</style>